Expand description

Simple wrapper for the ffprobe CLI utility, which is part of the ffmpeg tool suite.

This crate allows retrieving typed information about media files (images and videos) by invoking ffprobe with JSON output options and deserializing the data into convenient Rust types.

match ffprobe::ffprobe("path/to/video.mp4") {
   Ok(info) => {
       dbg!(info);
   },
   Err(err) => {
       eprintln!("Could not analyze file with ffprobe: {:?}", err);
    },
}

Structs

ffprobe configuration.

Build the ffprobe configuration.

Enums

Functions

Execute ffprobe with default settings and return the extracted data.

Run ffprobe with a custom config. See ConfigBuilder for more details.